//
//  TSContainerViewController.swift
//  TopStock
//
//  Created by dyd on 2017/8/10.
//  Copyright © 2017年 dyd. All rights reserved.
//

import UIKit

class TSContainerViewController: UIViewController {
    @IBOutlet weak var successContainerView: UIView!    //注册成功画面
    @IBOutlet weak var failContainerView: UIView!       //注册失败画面
    
    var relust:Bool = false

    override func viewDidLoad() {
        super.viewDidLoad()
        successContainerView.isHidden = !registerRelust
        failContainerView.isHidden = registerRelust

        // Do any additional setup after loading the view.
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    
    public var registerRelust: Bool {
        get {
            return relust
        }
        set {
            relust = newValue
        }
    }

    
    @IBAction func backItemAction(_ sender: Any) {
        self.dismiss(animated: true, completion: nil)
    }
    

    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
        // Get the new view controller using segue.destinationViewController.
        // Pass the selected object to the new view controller.
    }
    */

}
